<template>
	<div id="app">
		<router-view v-if="user"></router-view>
	</div>
</template>

<script>
import { mapState, mapActions } from "vuex";
export default {
	name: "Customer",
	data() {
		return {};
	},
	computed: {
		...mapState("user", ["user"]),
	},
	async created() {
		await this.queryLoginUserInfo();
		
	},
	methods: {
		...mapActions("user", ["queryLoginUserInfo"]),
	},
};
</script>

<style></style>
